package com.ajavaer.framework.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackages = {"com.ajavaer.framework.config", "com.ajavaer.framework.pay"})
@EnableConfigurationProperties({WeixinPayConfig.class, AlipayConfig.class, ApplePayConfig.class})
@ConditionalOnProperty("ajavaer.pay.enable")
public class PayConfig {

}
